package com.zylix.simon.checking.notes;

import android.util.Log;

public class CheckItemData {
	private static final String TAG = "CheckItemData";

	private int id;
	private String content;
	private boolean checked;
	
	public CheckItemData(){
		id = 0;
		content = "";
		checked = false;
	}
	
	public CheckItemData(int i, String cont, boolean ch)
	{
		id = i;
		content = cont;
		ch = checked;
	}
	
	public int getItemId(){
		return id;
	}
	
	public void setItemId(int i){
		id = i;
	}
	
	public String getItemTitle(){
		return content;
	}
	
	public void setItemTitle(String cont){
		content = cont;
	}
	
	public boolean getItemChecked(){
		return checked;
	}
	
	public void setItemChecked(boolean ch){
		checked = ch;
	}
	
	public void dump_data(){
		Log.i(TAG, "Item id : " + id);
		Log.i(TAG, "Item content : " + content);
		if(!checked)
			Log.i(TAG, "Item status : false");
		else
			Log.i(TAG, "Item status : true");
	}
}
